body:not(.vertical-collpsed) .app-search {
  margin-left: 20px !important;
}

input[type="text"]:disabled,
input[type="text"]:read-only,
input[type="number"]:disabled,
input[type="number"]:read-only,
select:disabled,
textarea:disabled,
textarea:read-only,
button:disabled .select2-container--disabled .select2-selection--single {
  cursor: not-allowed !important;
}

.vertical-menu {
  z-index: 1000 !important;
}

.cust-textarea {
  resize: none;
}

.wp-nowrap {
  white-space: nowrap !important;
}

.search-map {
  margin-top: 1rem;
  width: 200px !important;
  padding: 0.47rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.w-15 {
  width: 15% !important;
}

.flex-items {
  flex: 1 1 25% !important;
}

@media (max-width: 768px) {
  .label-flex {
    display: none;
  }

  .flex-items {
    flex: 1 1 100% !important;
  }
}

.bg-hover {
  background-color: #f8f9fa;
}

.w-85 {
  width: 85% !important;
}

@media (max-width: 992px) {
  .footer {
    left: 0 !important;
  }
}

.dropdown-menu-notif {
  width: 350px !important;
}

.avatar-icon {
  margin-left: 0.05rem;
}

.mm-active > a {
  font-weight: 500 !important;
}

.btn-md {
  padding: 0.4rem 0.6rem !important;
  font-size: 0.8075rem !important;
}

.btn-white {
  background-color: #fff !important;
}

.fs-italic {
  font-style: italic !important;
}

.fs-14 {
  font-size: 18px !important;
}

.pb-50 {
  padding-bottom: 190px !important;
}

.text-underline {
  text-decoration: underline !important;
}

.border-input {
  border-color: #ced4da !important;
}

.b-success {
  border-color: #34c38f !important;
}

.b-danger {
  border-color: #f46a6a !important;
}

.max-width {
  position: relative !important;
  max-width: 100% !important;
}

.datepicker {
  z-index: 999999999 !important;
}

.pointer {
  cursor: pointer !important;
}

.ui-draggable-handle:hover {
  cursor: move !important;
}

.rounded-end-0 {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.rounded-end-25 {
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}

.rounded-start-0 {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

h4 > i.info-icon {
  font-size: 1.35rem !important;
}

/* INPUT CUSTOM */
input:focus:required:invalid,
textarea:focus:required:invalid {
  border: 1px solid #f46a6a !important;
  padding-right: calc(1.5em + 0.94rem) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f46a6a'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f46a6a' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.8em + 0.235rem) center;
  background-size: calc(0.75em + 0.47rem) calc(0.75em + 0.47rem);
  -webkit-box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25) !important;
  box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25) !important;
}

select:focus:required:invalid + span > span > span.select2-selection {
  border: 1px solid #f46a6a !important;
  padding-right: calc(1.5em + 0.94rem) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f46a6a'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f46a6a' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(1.775em + 0.235rem) center;
  background-size: calc(0.75em + 0.47rem) calc(0.75em + 0.47rem);
  -webkit-box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25) !important;
  box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25) !important;
}

select.is-invalid + span > span > span.select2-selection {
  border: 1px solid #f46a6a !important;
  padding-right: calc(1.5em + 0.94rem) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f46a6a'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f46a6a' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(1.775em + 0.235rem) center;
  background-size: calc(0.75em + 0.47rem) calc(0.75em + 0.47rem);
  -webkit-box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25) !important;
  box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25) !important;
}

.select2-container--default.select2-container--disabled
  .select2-selection--single {
  background-color: #f5f6f8 !important;
}

.select2-container--open {
  z-index: 9999;
}

.input-group > .input-group-prepend > span#forSelect {
  height: 38px !important;
  border-right: 2px solid #ced4da !important;
}

.input-group > .select2 > .selection > .select2-selection {
  border-left: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: #444 !important;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  -webkit-box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25) !important;
  box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25) !important;
}

.input-group-sm > .form-control:not(textarea),
.input-group-sm > .form-select {
  height: calc(1.5em + 0.5rem + 2px);
}

.input-group-sm > .form-control,
.input-group-sm > .form-select,
.input-group-sm > .input-group-prepend > .input-group-text,
.input-group-sm > .input-group-append > .input-group-text,
.input-group-sm > .input-group-prepend > .btn,
.input-group-sm > .input-group-append > .btn {
  padding: 0.25rem 0.5rem;
  font-size: calc(0.3rem + 0.4rem + 0.1rem);
  line-height: 1.5;
  border-radius: 0.2rem;
}

.input-group-lg > .form-select,
.input-group-sm > .form-select {
  padding-right: 1.75rem;
}

/* TABLE/DATATABLE CUSTOM */

.table-white {
  --bs-table-bg: #fff !important;
  color: #000 !important;
  border-color: #f5f6f8 !important;
}

.table-responsive > table.dataTable {
  margin-bottom: 0px !important;
}

.table-responsive::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track */
.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 50px;
}

/* Handle */
.table-responsive::-webkit-scrollbar-thumb {
  border-radius: 50px;
  background: #ced4da;
}

/* Handle on hover */
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

.table tbody tr.row_selected td {
  --bs-table-accent-bg: #5b72e875 !important;
  background-color: #5b72e875;
  border-color: #5b72e875;
  color: #fff;
}

.table tbody tr.row_selected td > span.bg-soft-danger {
  background-color: #f46a6a !important;
  color: #fff;
}

.table tbody tr.row_selected td > span.bg-soft-success {
  background-color: #34c38f !important;
  color: #fff;
}

.table-striped > tbody > tr.row_selected:nth-of-type(odd) > * {
  --bs-table-accent-bg: #5b72e875 !important;
  background-color: #5b72e875;
  border-color: #5b72e875;
  color: #fff;
}

.table-hover > tbody > tr:hover > * {
  cursor: pointer !important;
  opacity: 0.9 !important;
  --bs-table-accent-bg: #5b72e875 !important;
  background-color: #5b72e875 !important;
  border-color: #5b72e875 !important;
  color: #fff !important;
}

.table-hover > tbody > tr:hover > td > span.bg-soft-danger {
  background-color: #f46a6a !important;
  color: #fff;
}

.table-hover > tbody > tr:hover > td > span.bg-soft-success {
  background-color: #34c38f !important;
  color: #fff;
}

.dataTables_filter label {
  margin-bottom: 0rem !important;
}

.table-datas {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
  min-width: max-content;
}

.tbl-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 0.5em;
}

.tbl-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

table.table-condensed {
  display: block;
  overflow-x: hidden;
  overflow-y: scroll;
  white-space: nowrap;
  height: 200px;
}

table th:focus {
  outline: 0 !important;
}

#infoTable > i:focus {
  outline: 0 !important;
}

.i-stts-table {
  /* font-size: 17px; */
  font-weight: bold;
  color: #34c38f;
}

/* TYPEHEAD CUSTOM */
.typeahead {
  z-index: 1051;
  margin-top: 2px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.typeahead > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 16px;
  color: #333333;
  white-space: nowrap;
}

.typeahead > li.active {
  background-color: #5b73e8;
  color: white;
}

.typeahead > .active > a,
.typeahead > .active > a:hover,
.typeahead > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
}

/* DETAIL KIOS PASAR CUSTOM */
i.icon-card {
  font-size: 55px;
}

a.tultip {
  /* border-bottom: 1px dashed; */
  text-decoration: underline !important;
  color: white;
  font-size: 14px;
}

a.tultip:hover {
  cursor: help;
  position: relative;
}

a.tultip span {
  display: none;
}

span#showDetail {
  margin-top: 20px;
}

a.tultip:hover span {
  /* border: #c0c0c0 1px dotted; */
  background-color: #fff;
  border-radius: 0.25rem;
  padding: 15px 15px 15px 15px;
  display: block;
  z-index: 100;
  top: 10px;
  left: 0px;
  color: #444 !important;
  margin: 10px;
  width: 400px;
  position: absolute;
  text-decoration: none;
  /* color: red; */
}

/* LOGIN */
.login-bg {
  /* background: url(https://i.imgur.com/73BxBuI.png); */
  background: url("../../img/login-bg.png");
  background-size: cover;
  background-position: center;
  height: 100vh;
  max-height: 100vh;
}

.login-shadow {
  box-shadow: 0 0 10px 2px rgba(91, 115, 232, 0.5) !important;
}

.login-box {
  position: absolute;
  width: 100%;
  top: 52%;
  left: 25%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
  .login-bg {
    background: none;
  }

  .login-box {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Nav */
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background-color: #f6f6f6 !important;
}

/* File Display */
.file-display {
  /* min-height: 230px; */
  display: none;
  border: 2px dashed #f6f6f6;
  background: #fff;
  border-radius: 6px;
  padding: 20px 20px;
}

.card-upload .icon-file {
  background-color: #34c38f;
  color: #fff;
  border-top-left-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
  cursor: pointer;
  padding: 0.5rem !important;
}

.card-upload .icon-times {
  color: #fff;
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
  cursor: pointer;
  padding: 0.5rem !important;
}

.card-upload .name-file {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 768px) {
  .card-upload .name-file {
    text-align: center;
  }
}

.card-upload .icon-file i {
  text-align: center;
  font-size: 20px;
}

.card-upload .icon-times i {
  text-align: center;
  font-size: 20px;
}

/* DISCUSS */
.discuss-foot .list-inline-item a {
  padding: 4px 0px !important;
}

.discuss-img {
  max-height: 40px !important;
  max-width: 40px !important;
  background-size: cover;
  object-fit: cover;
}

.chat-ans-box {
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .chat-ans-box {
    padding-left: 0;
  }

  .discuss-img {
    max-height: 45px !important;
    max-width: 60px !important;
  }
}

/* SweetAlert */
.swal2-popup-loader {
  width: 150px !important;
}

@keyframes bounceIn {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.animate-img {
  animation: bounceIn 2s infinite;
}

/* Modal */
.modal-dialog .overlay {
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: -1px;
  z-index: 1052;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  color: #666f76;
  border-radius: 0.3rem;
}

/* Offcanvas */
.offcanvas-end {
  width: 450px !important;
}
